home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19990725-20000114
/
000317_news@columbia.edu _Sat Dec 4 14:04:04 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-01-13
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA22086
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 4 Dec 1999 14:04:03 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA21928
for kermit.misc@watsun.cc.columbia.edu; Sat, 4 Dec 1999 13:59:05 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: "Christian Jensen" <cejensen@winternet.com>
Subject: Changing directories/overwriting files
Date: Sat, 4 Dec 1999 13:02:10 -0600
Organization: StarNet Communications, Inc.
Message-ID: <82bo81$l3d$1@blackice.winternet.com>
To: kermit.misc@columbia.edu
I am new to kermit, and am having trouble with a script that uploads files
from a CCI-DOS machine (running the newest MS-DOS kermit) to an HP-UX server
(running C-Kermit). I am attempting to upload files to one directory, cd to
another and upload files there, then cd to another and upload still more
files to this third directory. The code looks something like this:
cd /Net/go/dir1\13
send file1
output cd ..\13
output cd dir2\13
send file2
output cd ..\13
output cd dir3\13
send file3
Notice the three directories are all subdirctories off the same directory.
In my current script, the 'cd' commands all fail for some reason, and files
are all deposited in the same directory (the first one).
What's wrong with my code? Suggestions welcome.
Also, if a file is uploaded to a directory that already contains a file with
that name, rather than overwriting the original (which is what I usually
want), kermit renames the uploaded file by appending a ~1~ to the end of it.
How do I suppress this behavior?
I do have the kermit book, but have not found the answers to either of the
above in it.
Thanks!
--Chris
*****************************************
Chris Jensen
cejensen@winternet.com
ASCII mail preferred...
"Sacred cows make the best hamburger." --Mark Twain